'use strict';
import Layout from '@/layout';
// 会员中心
const MemberRoutes = [
    {
        hidden: true,
        path: '/member',
        component: Layout,
        name: 'index',
        redirect: '/index',
        meta: {
            title: '会员中心'
        },
        children: [
            {
                path: 'index',
                name: 'vipCenter',
                component: () => import ('@/views/member/index'),
                meta: {
                    title: '会员列表'
                }
            }, {
                path: '/addorder',
                component: () => import ('@/views/member/addorder'),
                name: 'addorder',
                hidden: true,
                meta: {
                    title: '新增会员',
                    isNotCheckToken: true
                }
            }, {
                path: '/detail',
                component: () => import ('@/views/member/detail'),
                name: 'getDetail',
                hidden: true,
                meta: {
                    title: '编辑会员',
                    isNotCheckToken: true
                }
            },
        ]
    }
];

export default MemberRoutes;
